// run: $exec < input
#include <iostream>

int const maxn = 1007;
int n, k, l, r, sall, sk;
int a[maxn];

int main()
{
	std::ios::sync_with_stdio(false);
	std::cin >> n >> k >> l >> r >> sall >> sk;
	int sum = l * n;
	for (int i = 1; i <= n; i++) a[i] = l;
	int t = sk - k * l;
	for (int i = 1; i <= k; i++) a[i] += t / k;
	sum += k * (t / k);
	t %= k;
	sum += t;
	for (int i = 1; t; i = (i % k) + 1, t--)
		a[i]++;
	int left = sall - sum;
	if (left) {
		for (int i = k + 1; i <= n; i++) a[i] += left / (n - k);
		left %= (n - k);
		for (int i = k + 1; left; i++, left--)
			a[i]++;
	}
	for (int i = 1; i <= n; i++) std::cout << a[i] << ' ';
}

